home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / scrmask.z / scrmask
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssccccrrrrmmmmaaaasssskkkk((((3333GGGG))))                                                        ssssccccrrrrmmmmaaaasssskkkk((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssccccrrrrmmmmaaaasssskkkk - defines a rectangular screen clipping mask
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ssssccccrrrrmmmmaaaasssskkkk((((lllleeeefffftttt,,,, rrrriiiigggghhhhtttt,,,, bbbboooottttttttoooommmm,,,, ttttoooopppp))))
  13.      SSSSccccrrrreeeeeeeennnnccccoooooooorrrrdddd lllleeeefffftttt,,,, rrrriiiigggghhhhtttt,,,, bbbboooottttttttoooommmm,,,, ttttoooopppp;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _l_e_f_t     expects the window coordinate of the left-most pixel column
  17.               within the mask region.
  18.  
  19.      _r_i_g_h_t    expects the window coordinate of the right-most pixel column
  20.               within the mask region.
  21.  
  22.      _b_o_t_t_o_m   expects the window coordinate of the lowest pixel row within the
  23.               mask region.
  24.  
  25.      _t_o_p      expects the window coordinate of the highest pixel row within
  26.               the mask region.
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      ssssccccrrrrmmmmaaaasssskkkk defines a subregion of the current viewport that can be updated
  30.      by drawing commands.  Pixels outside this region cannot be modified by
  31.      any drawing commands, including point, line, polygon, character, pixel
  32.      write, and pixel copy commands.  All pixel bitplane buffers, including
  33.      color, depth, accumulation, and stencil buffers, are write protected.
  34.      ssssccccrrrrmmmmaaaasssskkkk operates in all draw modes.
  35.  
  36.      The enabled subregion is specified as a screen-aligned rectangle in
  37.      window coordinates.  Like vvvviiiieeeewwwwppppoooorrrrtttt, the boundary specification is
  38.      inclusive, so the call ssssccccrrrrmmmmaaaasssskkkk((((0000,,,,0000,,,,0000,,,,0000)))) specifies a 1-pixel rectangle in
  39.      the lower-left corner of the window.
  40.  
  41.      When vvvviiiieeeewwwwppppoooorrrrtttt is called, the screen mask is set to match the newly
  42.      specified viewport.  Any previous ssssccccrrrrmmmmaaaasssskkkk specification is lost.
  43.  
  44.      ssssccccrrrrmmmmaaaasssskkkk must be specified entirely within the current viewport.
  45.  
  46. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  47.      drawmode, getscrmask, viewport
  48.  
  49. NNNNOOOOTTTTEEEE
  50.      If you set _l_e_f_t to be greater than _r_i_g_h_t or _b_o_t_t_o_m to be greater than
  51.      _t_o_p, all pixels in the viewport are write protected.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.